<?php

namespace app\model;

use think\Model;

/**
 * 数据返回模板
 */
class Result extends Model
{
    public static function index($code,$msg,$data){
        $arr = array('code'=>$code,'msg'=>$msg,'data'=>$data);
        return $arr;
    }
}
